package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {
    PageResult<Activity> selectPage(Integer channel, Integer type, Integer status,Integer page,Integer pageSize);

    void insert(Activity activity);

    Activity selectById(Integer id);

    void updateActivity(Activity activity);

    void delectById(Integer id);

    List<Activity> selectByType(Integer type);

//    List<Activity> list();
}
